package org.itboys.core.entity.mysql;

import org.itboys.mysql.entity.BaseMySqlEntity;

/**
 * @Author：贾琦磊
 * @Date：2018/9/3
 * @Description：价格调整单
 */
public class SundayPriceAdjustOrder extends BaseMySqlEntity{
    //调价方式：临时
    public static final Integer ADJUST_WAY_TEMPORARY=1;
    //调价方式：永久
    public static final Integer ADJUST_WAY_PERMANENT=2;
    /**
     * 编号
     */
    private String number;
    /**
     * 状态：一次审核
     */
    private Integer state;
    /**
     * 备注0
     */
    private String remark;
    /**
     * 生效时间
     */
    private String startDate;
    /**
     * 失效时间
     */
    private String endDate;
    /**
     * 调价原因
     */
    private String adjustReason;
    /**
     * 调价方式
     */
    private Integer adjustWay;
    /**
     * 调价区域
     */
    private Integer adjustArea;

    public SundayPriceAdjustOrder() {
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getAdjustReason() {
        return adjustReason;
    }

    public void setAdjustReason(String adjustReason) {
        this.adjustReason = adjustReason;
    }

    public Integer getAdjustWay() {
        return adjustWay;
    }

    public void setAdjustWay(Integer adjustWay) {
        this.adjustWay = adjustWay;
    }

    public Integer getAdjustArea() {
        return adjustArea;
    }

    public void setAdjustArea(Integer adjustArea) {
        this.adjustArea = adjustArea;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("SundayPriceAdjustOrder{");
        sb.append("number='").append(number).append('\'');
        sb.append(", state=").append(state);
        sb.append(", remark='").append(remark).append('\'');
        sb.append(", startDate='").append(startDate).append('\'');
        sb.append(", endDate='").append(endDate).append('\'');
        sb.append(", adjustReason='").append(adjustReason).append('\'');
        sb.append(", adjustWay=").append(adjustWay);
        sb.append(", adjustArea=").append(adjustArea);
        sb.append('}');
        return sb.toString();
    }
}
